/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.edu.kamai.config;

import java.io.File;

/**
 *
 * @author Administrator
 */
public class Constant {
    public static final int KAMAI_STUDENT_ROLE = 1;
    public static final int KAMAI_TEACHER_ROLE = 2;
    public static final String urlAddress = "http://localhost:8080/";
    public static final String upLoadUrl = urlAddress + "kamai_edu/UpLoad";
    public static final String downloadUrl = urlAddress + "kamai_edu/UpLoad";
    public static final String upLoadMMediaFileFolder =  "/UpLoad/MMedia";
    public static final String upLoadRECFileFolder =  "/UpLoad/Rec";
    public static final String upLoadPaperFileFolder = "/UpLoad/Paper";
    public static final String netiniFilePath = "/com/edu/kamai/webservice/client/net.ini";
    
    public static final long upLoadMMediaFileMaxSize = 10*1024*1024; //10Mb
    public static final int upLoadBufferSize = 4096; //4kb
    
    public static final int READING_PAPER_ID = 1;
    public static final int LISTENING_PAPER_ID = 2;
    public static final int SPEAKING_PAPER_ID = 3;
    public static final int WRITING_PAPER_ID = 4;
    
    public static final int paperPending = 0;
    public static final int paperReviewed = 1;
    
    public static final int EnglishContest = 1;
    
    public static final int readingTotalScore = 40;
    public static final int readingSingleScore = 2;
    
    public static final String[] paperRoleTable = {"","READING","LISTENING","SPEAKING"
            ,"WRITING"};
        
    public Constant(){
        
    }
    
}
